home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
gnuish
/
gsed-203
/
makefile.bcc
< prev
next >
Wrap
Makefile
|
1993-12-15
|
2KB
|
78 lines
# Generated automatically from Makefile.in by configure.
# Modified by Todd Kordenbrock for Borland C++ 3.1
# Makefile for GNU SED, a batch editor.
# Copyright (C) 1987, 1991 Free Software Foundation, Inc.
#
# This file is part of GNU SED.
#
# GNU SED is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU SED is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU SED; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#### Start of system configuration section. ####
srcdir = .
CC = bcc
# Things you might add to DEFS:
# -DSTDC_HEADERS If you have ANSI C headers and libraries.
# -DUSG If you have System V/ANSI C string
# and memory functions and headers.
# -D__CHAR_UNSIGNED__ If type `char' is unsigned.
# gcc defines this automatically.
# -DNO_VFPRINTF If you lack vprintf function (but have _doprnt).
DEFS = -DHAVE_STRING_H=1 -DHAVE_VPRINTF=1 -DHAVE_MEMCPY=1 -DSTDC_HEADERS=1
LIBS =
CFLAGS = @defs.rsp -A
# I don't like looking at warning like this so
# i don't watch 'em.
#CFLAGS = @defs.rsp -A -w-par -w-rch -w-rvl
LDFLAGS =
#### End of system configuration section. ####
objs = sed.obj utils.obj rx.obj getopt.obj getopt1.obj
srcs = sed.c utils.c rx.c getopt.c getopt1.c alloca.c
all_objs= $(objs)
all: makedef.rsp sed
.c.obj:
$(CC) -c $(CPPFLAGS) $(CFLAGS) -I$(srcdir) $<
sed: $(all_objs)
$(CC) -e$@ $(LDFLAGS) $(all_objs) $(LIBS)
makedef.rsp:
-del defs.rsp
echo $(DEFS) > defs.rsp
sed.obj: rx.h getopt.h sed.c makefile
rx.obj: rx.h rx.c makefile
getopt1.obj: getopt.h getopt1.c makefile
getopt.obj: getopt.h getopt.c makefile
utils.obj: utils.c makefile
clean:
-del *.obj defs.rsp
distclean: clean
-del sed.exe
realclean: distclean
-del *.bak *~ *.*~